cmake_minimum_required(VERSION 3.5)
project(MyCMake)

if (${CMAKE_HOST_SYSTEM_NAME} MATCHES "Windows")
    message(STATUS ${CMAKE_HOST_SYSTEM_NAME})
elseif (${CMAKE_HOST_SYSTEM_NAME} MATCHES "Linux")
    message(STATUS ${CMAKE_HOST_SYSTEM_NAME})
else ()
    message(STATUS ${CMAKE_HOST_SYSTEM_NAME})
endif ()

if (${CMAKE_C_COMPILER_ID} STREQUAL GNU)
    add_subdirectory(gcc)
elseif (${CMAKE_C_COMPILER_ID} STREQUAL MSVC)
    add_subdirectory(msvc)
else ()
    message(STATUS ${CMAKE_C_COMPILER_ID})
endif ()

#enable_testing()
enable_language(ASM)